package datasv.framework_datasv;

import java.util.List;

import po.ModelPO;
import po.SubModelPO;
import resultmessage.FrameworkRM;

public interface FrameworkDatasv {
	public ModelPO getModel(String collegeID,String modelID);
	public FrameworkRM addModel(String collegeID, ModelPO model);
	public FrameworkRM  deleteModel(String collegeID,String modelID);
	public FrameworkRM updateModel(String collegeID, ModelPO po);
	public List<SubModelPO> getAllSubModelOfModel(String collegeID, String modelID);
	public SubModelPO getSubModel(String collegeID,String modelID,String subModelID);
	public FrameworkRM addSubModel(String collegeID, String modelID, SubModelPO po);
	public FrameworkRM deleteSubModel(String collegeID, String modelID, String SubModelID);
	public FrameworkRM updateSubModel(String collegeID, String modelID, SubModelPO po);
}
